package fun.taostool.mapper.tdengine;


import org.apache.ibatis.annotations.Param;

import java.util.Map;


public interface TDengineCommonMapper {

    /**
     * 创建数据库
     *
     * @param databaseName
     */
    void createDB(@Param("tbInfo") Map<String, Object> databaseName);

    /**
     * 删除超级表
     *
     * @param stbName
     */
    void dropStbName(@Param("tbName") String stbName);


    void insertData(@Param("dataMap") Map<String, Object> collect);


    void dropDatabase(@Param("dbName")  String dbName);
}